package com.example.datasourcedemo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author chenluping
 * @Date 2021/12/22
 * @Description
 **/
@RestController
public class HelloController {


    @GetMapping("/getHello/{userId}")
    public String getHello(@PathVariable("userId") String userId){
        return userId;
    }
}
